﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    [Serializable]
    public partial class Car_Maintenance
    {
        public Car_Maintenance()
        { }
        #region Model
        private int _id;
        private int _carid;
        private DateTime _maintenancetime;
        private decimal _maintenancemoney;
        private string _maintenanceaddress;
        private string _username;
        private bool _hasattachments = false;
        private string _remark;
        private int _state;
        private int _instancestate;
        private string _approalusers;
        private int _nodecount;
        private int _userId;
        
        /// <summary>
        /// 车辆保养
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌
        /// </summary>
        public int CarId
        {
            set { _carid = value; }
            get { return _carid; }
        }
        /// <summary>
        /// 保养时间
        /// </summary>
        public DateTime MaintenanceTime
        {
            set { _maintenancetime = value; }
            get { return _maintenancetime; }
        }
        /// <summary>
        /// 保养金额
        /// </summary>
        public decimal MaintenanceMoney
        {
            set { _maintenancemoney = value; }
            get { return _maintenancemoney; }
        }
        /// <summary>
        /// 保养地点
        /// </summary>
        public string MaintenanceAddress
        {
            set { _maintenanceaddress = value; }
            get { return _maintenanceaddress; }
        }
        /// <summary>
        /// 经办人
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ApproalUsers
        {
            set { _approalusers = value; }
            get { return _approalusers; }
        }
        /// <summary>
        /// 流程节点数
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }
        #endregion Model
    }
}
